2015-10-19 - 20241- Spec - ZCOD not updated in the Sales order from inbound IDOC for Japan E commerce (Dan by 2015-09-30) #JapanSD #JapanABAP

SPECIFICATIONS

20241-Spec- ZCOD not updated in SO from inbound IDOC for Japan E commerce


Purpose


ZCOD value is not passed to SO from the inbound IDOC.

Admin Info


Purpose
ZCOD value is not passed to SO from the inbound IDOC.
Requested By
Daniel Brennan
Spec Created By
Deepak Yasam
Spec Created Date
10/19/2015
Spec QA by
Surya Basa
Objects
MV45AFZZ
Document Status
Completed


Estimates



Sl.No
Activity
Estimation in Hours
1
Research
06
2
Documentation
04
3
Development/ Config
06
4
Unit test in DEV
04
5
Unit test in QUA
00
6
Other activity


TOTAL
20

References


Prior Tickets

[Provide links of prior associated Spec / Break Fix BOSS document(s)]

None

Documents

[Attach any document(s) received for the requirement(s)]

None


Spec Changes


[List the changes made to program after the approval of the original requirement along with the Date on which the change request was received and the name of the initiator]

Sl.
Change Details
Requested By
Requested On
Notes if any

























Functional Requirement


Purpose/WHY:

[Explain the purpose of the project and the reason why this requirement has come]
ZCOD value is not passed to SO from the inbound IDOC

In Scope:

[List the activities to be included in scope]
The userexit MV45AFZZ is modified.

Out of Scope:

[Out of scope activities]

Solution Summary


[Discuss this section with Requester and get approval prior to beginning work]

After debug the user exit , below are the findings.

With ZCOD payment terms in SO -
1. With ZCOD value in IDOC and entry in TVARVC(For ZJRU) - The ZCOD value from IDOC is override with ZCOD value from TVARVC entry for ZJRU in the SO.
2. With ZCOD value in IDOC and no entry in TVARVC(For ZJRU) - The ZCOD condition is not displayed in the SO.
When we were reported the issue in NEP on July 08 , we haven't created an entry for ZJRU in TVARVC table.
So as per the logic it tried to read an entry in TVARVC table with ZJRU even though the ZCOD value is passed in the IDOC.As there was no entry in TVARVC table , the ZCOD condition didn't appeared in the SO.
Later on July 16, we have added an entry with ZJRU in TVARVC table(NEDK930282). We assume that after adding the entry for ZJRU , the ZCOD value from TAVRVC would have appeared in the SO's.
We need to change the logic to consider the ZCOD value from IDOC if it is maintained. We have replicated this in NECNED300.

Scenario
IDOC
SO
With ZCOD in IDOC and without TVARVC entry
375557
71715
With ZCOD in IDOC and with TVARVC entry
375558
71716

With payment terms other than ZCOD -
There is no issue when the payment terms is other than ZCOD ,as the value from IDOC would be passed to the SO as we didn't have any logic in the userexit.


Test Plan

[List test scenarios/cases to be executed here]

With payment terms ZCOD :

Test ID
Test Scenario
Expected result
SD001
Create a ZJRU sales order through an inbound IDOC with ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE value from IDOC
SD002
Create a ZJRU sales order through an inbound IDOC with ZCOD value
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD003
Create a ZJRU sales order through an inbound IDOC with ZFRE value
SO should be created as below.
1. ZCOD value from TVARVC table.
2.ZFRE value from IDOC
SD004
Create a ZJRU sales order through an inbound IDOC without ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD005
Create ZJRU sales order manually
SO should be created as below.
1. ZCOD value from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD006
Create ZJRU sales order manually and save it.Now change the ZCOD value that is copied from TVARVC table.
The changed ZCOD value should be activated and the copied TVARVC table value should be inactivated.
SD007
Create a ZOR sales order through an inbound IDOC with ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE value from IDOC
SD008
Create a ZOR sales order through an inbound IDOC with ZCOD value
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD009
Create a ZOR sales order through an inbound IDOC with ZFRE value
SO should be created as below.
1. ZCOD value from TVARVC table.
2.ZFRE value from IDOC
SD010
Create a ZOR sales order through an inbound IDOC without ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD011
Create ZOR sales order manually
SO should be created as below.
1. ZCOD value from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD012
Create ZOR sales order manually and save it.Now change the ZCOD value that is copied from TVARVC table.
The changed ZCOD value should be activated and the copied TVARVC table value should be inactivated.
SD013
Create ZPTO sales order manually
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE condition should'nt be displayed in the SO
Payment terms other than ZCOD :

Test ID
Test Scenario
Expected result
SD001
Create a ZJRU sales order through an inbound IDOC with ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE value from IDOC
SD002
Create a ZJRU sales order through an inbound IDOC with ZCOD value
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD003
Create a ZJRU sales order through an inbound IDOC with ZFRE value
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE value from IDOC
SD004
Create a ZJRU sales order through an inbound IDOC without ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE condition should'nt be displayed in the SO
SD005
Create ZJRU sales order manually
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE condition should'nt be displayed in the SO
SD006
Create a ZOR sales order through an inbound IDOC with ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE value from IDOC
SD007
Create a ZOR sales order through an inbound IDOC with ZCOD value
SO should be created as below.
1. ZCOD value from the IDOC but not from TVARVC table.
2.ZFRE condition should'nt be displayed in the SO
SD008
Create a ZOR sales order through an inbound IDOC with ZFRE value
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE value from IDOC
SD009
Create a ZOR sales order through an inbound IDOC without ZCOD and ZFRE values.
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE condition should'nt be displayed in the SO
SD010
Create ZOR sales order manually
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE condition should'nt be displayed in the SO
SD011
Create ZPTO sales order manually
SO should be created as below.
1. ZCOD value shouldn't be displayed in the SO.
2.ZFRE condition should'nt be displayed in the SO

Solution Details


[Provide complete technical details for configuration or programming here]
Modified Sales Order Exit MV45AFZZ to give preference to ZCOD value from IDOC/Manual Entries.

Issues


[List Issues / Bugs identified in configuration or development]